<title>旅游点评后台</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="/js/bootstrap/css/bootstrap.css" type="text/css" />
<link rel="stylesheet" href="/css/core.css" type="text/css" />
<link rel="stylesheet" href="/css/crm.css" type="text/css" />
<link rel="stylesheet" href="/js/select2/select2.min.css" type="text/css" />



<script type="text/javascript" src="/js/jquery/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="/js/bootstrap/js/bootstrap.min.js"></script>
<script type="text/javascript" src="/js/plugins/messager/jquery.bootstrap.min.js"></script>
<script type="text/javascript" src="/js/plugins/page/jquery.twbsPagination.min.js"></script>
<script type="text/javascript" src="/js/plugins/form/jquery.form.js"></script>
<script type="text/javascript" src="/js/plugins/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="/js/select2/select2.full.min.js"></script>


<script>
    function doWarning(warningMsg) {
        $.messager.alert("温馨提示", warningMsg);
    }
    function doSuccess(successMsg,successUrl) {
        $.messager.alert("温馨提示", successMsg);
        setTimeout(function () {
            if(successUrl==null){
                window.location.reload();
            }else {
                window.location.href=successUrl;
            }
        }, 2000);
    }
    function doConfirm(confirmMsg,url,urlData,successMsg) {
        $.messager.confirm("温馨提示",confirmMsg,function () {
            $.get(url,urlData,function (data) {
                if(data.success){
                    doSuccess(successMsg);
                }else {
                    $.messager.alert("温馨提示",data.msg)
                }
            })
        })
    }
</script>
